Fills a polygon defined by an array of point structures using the specified fill mode.
Syntax
'Declaration
Public Overloads Sub FillPolygon( _
ByVal As System.Drawing.Brush, _
ByVal () As System.Drawing.PointF, _
Optional ByVal As System.Drawing.Drawing2D.FillMode _
)
public void FillPolygon(
System.Drawing.Brush ,
System.Drawing.PointF[] ,
System.Drawing.Drawing2D.FillMode
)
Parameters
- brush
- The object that determines the color used to fill the polygon.
- points
- Array of point structures that represent the vertices of the polygon.
- fillMode
- System.Drawing.Drawing2D.FillMode parameter that determines how to handle overlapping areas within the polygon.
See Also